package com.investmenttechnologyservices.services;

import java.util.Date;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;

public interface AccountService {
	void create(HttpServletRequest req, HttpServletResponse res) throws Exception;
	void findAll(HttpServletRequest req, HttpServletResponse res) throws Exception;
	Date getAccountLastLoadedDate(Key accountKey);
	void pickerFindAll(HttpServletRequest req, HttpServletResponse res) throws Exception;
	Date getAccountLastLoadedDate();
	Iterable<Entity> getAccountListByFirm(Key firmKey, boolean keysOnly);
	Boolean checkUserAndAccount(Key accountKey);

}
